{"version":3,"sources":["jquery.countdown_landing.js"],"names":["factory","define","amd","window","jQueryLanding","jQuery","$","instances","matchers","defaultOptions","precision","elapse","defer","push","source","RegExp","join","parseDateString","dateString","Date","String","match","Number","replace","Error","DIRECTIVE_KEY_MAP","Y","m","n","d","w","W","H","M","S","D","I","N","T","escapedRegExp","str","sanitize","toString","strftime","offsetObject","format","directives","i","len","length","directive","regexp","modifier","plural","value","hasOwnProperty","pluralize","count","singular","split","Math","abs","Countdown","el","finalDate","options","this","$el","interval","offset","extend","instanceNumber","data","on","setFinalDate","start","prototype","clearInterval","self","update","setInterval","call","stop","dispatchEvent","toggle","pause","resume","remove","countdownInstance","closest","hasEventsAttached","_data","undefined","now","newTotalSecsLeft","getTime","ceil","totalSecsLeft","elapsed","seconds","minutes","floor","hours","days","daysToWeek","daysToMonth","weeks","weeksToMonth","months","years","getFullYear","totalDays","totalHours","totalMinutes","totalSeconds","eventName","event","Event","trigger","fn","countdown","argumentsArray","Array","slice","arguments","each","instance","method","apply","error"],"mappings":";;;;;;;;;;;;;;;;;;;;;CAqBA,SAAUA,GACN,aACA,UAAWC,SAAW,YAAcA,OAAOC,IAAK,CAC5CD,OAAO,CAAE,UAAYD,OAClB,CACHA,EAAQG,OAAOC,eAAiBC,UALxC,EAOG,SAASC,GACR,aACA,IAAIC,EAAY,GAAIC,EAAW,GAAIC,EAAiB,CAChDC,UAAW,IACXC,OAAQ,MACRC,MAAO,OAEXJ,EAASK,KAAK,WAAWC,QACzBN,EAASK,KAAK,wDAAwDC,QACtEN,EAASK,KAAK,4DAA4DC,QAC1EN,EAAW,IAAIO,OAAOP,EAASQ,KAAK,MACpC,SAASC,EAAgBC,GACrB,GAAIA,aAAsBC,KAAM,CAC5B,OAAOD,EAEX,GAAIE,OAAOF,GAAYG,MAAMb,GAAW,CACpC,GAAIY,OAAOF,GAAYG,MAAM,YAAa,CACtCH,EAAaI,OAAOJ,GAExB,GAAIE,OAAOF,GAAYG,MAAM,MAAO,CAChCH,EAAaE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